package com.decent.ejfadmin.common.enums;

/**
 * 闲鱼订单状态
 *
 * @author 陈豆豆
 * @date 2019/05/23
 */
public enum ManualClearingStatusEnum {
    /**
     * 转账成功
     */
    TRANSFER_SUCCESS(1, "补结算成功"),
    /**
     * 转账失败
     */
    TRANSFER_FAIL(2, "补结算失败"),
    /**
     * 转账异常
     */
    TRANSFER_ABNORMAL(3, "补结算异常");

    private int code;

    private String message;

    ManualClearingStatusEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    @Override
    public String toString() {
        return "ManualClearingStatusEnum{" +
                "code=" + code +
                ", message='" + message + '\'' +
                '}';
    }
}
